﻿
@model InnoWeb.CEND.Core.Model.Videos.VideoContents

@{
    Layout = "";
    }

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="~/Content/Admin/screen.css" rel="stylesheet" />
</head>
<body>

    <!-- start content-outer ........................................................................................................................START -->
    <div id="content-outer">
        <!-- start content -->
        <div id="content">

            <!--  start page-heading -->
            <div id="page-heading">
                @if (this.Request.Cookies.AllKeys.Contains("_culture"))
                {
                    if (this.Request.Cookies["_culture"].Value == "tr-TR")
                    {
                    <h1>Video Detayları</h1>    
                    }
                    else
                    {
                    <h1>Video Detail</h1>   
                    }
                }
                else
                {
                    if (UICulture == "tr-TR")
                    {
                    <h1>Video Detayları</h1>    
                    }
                    else
                    {
                    <h1>Video Detail</h1>   
                    }
                }
            </div>
            <!-- end page-heading -->

            <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
                <tr>
                    <th rowspan="3" class="sized">
                        <img src="~/Images/Admin/shared/side_shadowleft.jpg" width="20" height="300" alt="" />
                    </th>
                    <th class="topleft"></th>
                    <td id="tbl-border-top">&nbsp;</td>
                    <th class="topright"></th>
                    <th rowspan="3" class="sized">
                        <img src="~/Images/Admin/shared/side_shadowright.jpg" width="20" height="300" alt="" />
                    </th>
                </tr>
                <tr>
                    <td id="tbl-border-left"></td>
                    <td>
                        <!--  start content-table-inner ...................................................................... START -->
                        <div id="content-table-inner">

                            <!--  start table-content  -->
                            <div id="table-content">
                                @if (this.Request.Cookies.AllKeys.Contains("_culture"))
                                {
                                    if (this.Request.Cookies["_culture"].Value == "tr-TR")
                                    {
                                    <h2>@Model.NameTR</h2>
                                    @Model.ShortDescriptionTR   
                                    }
                                    else
                                    {
                                    <h2>@Model.Name</h2>
                                    @Model.ShortDescription
                                    }
                                }
                                else
                                {
                                    if (UICulture == "tr-TR")
                                    {
                                    <h2>@Model.NameTR</h2>
                                    @Model.ShortDescriptionTR   
                                    }
                                    else
                                    {
                                    <h2>@Model.Name</h2>
                                    @Model.ShortDescription
                                    }
                                }

                                @Microsoft.Web.Helpers.Video.MediaPlayer(Url.Content("~/Content/Videos/" + Model.VideoUrl))
                            </div>
                            <!--  end table-content  -->

                            <div class="clear"></div>

                        </div>
                        <!--  end content-table-inner ............................................END  -->
                    </td>
                    <td id="tbl-border-right"></td>
                </tr>
                <tr>
                    <th class="sized bottomleft"></th>
                    <td id="tbl-border-bottom">&nbsp;</td>
                    <th class="sized bottomright"></th>
                </tr>
            </table>
            <div class="clear">&nbsp;</div>

        </div>
        <!--  end content -->
        <div class="clear">&nbsp;</div>
    </div>
    <!--  end content-outer........................................................END -->

    <div class="clear">&nbsp;</div>

</body>
</html>
